<?php
class MockDatabaseRockWith2PlayersArround {
	
	protected $players;
	
	public function MockDatabaseRockWith2PlayersArround() {
		$position1	= OPPosition::newWithLatitudeLongitude(1, 1);
		$player1 	= OPPlayer::newWithIdAndPosition(1, $position1);
		
		$position2	= OPPosition::newWithLatitudeLongitude(2, 2);
		$player2	= OPPlayer::newWithIdAndPosition(2, $position2);
		
		$this->players[] = $player1;
		$this->players[] = $player2;
		
	}
	
	public function allPlayers() {
		return $this->players;
		
	}
	
}